package day07;

public class OnerloadDemo {
    public static void main(String[] args) {
        show();
        show("李华");
        show(25,"张三");
        show("李四",67);

    }
    public static void show(){}
    public static void show(String name){}
    public static void show(int age){}
    public static void show(String name,int age){}
    public static void show(int age,String name){};
//    public static void show(){
//        return 1;  //编译错误，自裁与返回值类型无关
//    }
//    public static void show(String address){
//        String address;//编译错误，重载与参数，名无关
//    }


}
